package com.gmscosmo.janus.sendMessage;

import com.alibaba.fastjson.JSONObject;
import com.gmscosmo.janus.config.IMConfig;
import com.gmscosmo.janus.util.JanusLogUtil;
import com.gmscosmo.model.Event;
import org.springframework.beans.factory.annotation.Autowired;

public abstract class Sender {
    @Autowired
    JanusLogUtil janusLogUtil;
    @Autowired
    IMConfig imConfig;
    public abstract void sendEventToListener(String userId, JSONObject data);

    public abstract void sendEvent(String userId, Event event);
}
